
package cn.edu.scau.cmi.hombio.dao;

import cn.edu.scau.cmi.hombio.domain.CureType;

import java.util.Set;

import org.skyway.spring.util.dao.JpaDao;

import org.springframework.dao.DataAccessException;

/**
 * DAO to manage CureType entities.
 * 
 */
public interface CureTypeDAO extends JpaDao<CureType> {

	/**
	 * JPQL Query - findCureTypeByMemo
	 *
	 */
	public Set<CureType> findCureTypeByMemo(String memo) throws DataAccessException;

	/**
	 * JPQL Query - findCureTypeByMemo
	 *
	 */
	public Set<CureType> findCureTypeByMemo(String memo, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findCureTypeByPrimaryKey
	 *
	 */
	public CureType findCureTypeByPrimaryKey(Integer id) throws DataAccessException;

	/**
	 * JPQL Query - findCureTypeByPrimaryKey
	 *
	 */
	public CureType findCureTypeByPrimaryKey(Integer id, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findCureTypeByNameContaining
	 *
	 */
	public Set<CureType> findCureTypeByNameContaining(String name) throws DataAccessException;

	/**
	 * JPQL Query - findCureTypeByNameContaining
	 *
	 */
	public Set<CureType> findCureTypeByNameContaining(String name, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findAllCureTypes
	 *
	 */
	public Set<CureType> findAllCureTypes() throws DataAccessException;

	/**
	 * JPQL Query - findAllCureTypes
	 *
	 */
	public Set<CureType> findAllCureTypes(int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findCureTypeByMemoContaining
	 *
	 */
	public Set<CureType> findCureTypeByMemoContaining(String memo_1) throws DataAccessException;

	/**
	 * JPQL Query - findCureTypeByMemoContaining
	 *
	 */
	public Set<CureType> findCureTypeByMemoContaining(String memo_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findCureTypeByName
	 *
	 */
	public Set<CureType> findCureTypeByName(String name_1) throws DataAccessException;

	/**
	 * JPQL Query - findCureTypeByName
	 *
	 */
	public Set<CureType> findCureTypeByName(String name_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findCureTypeById
	 *
	 */
	public CureType findCureTypeById(Integer id_1) throws DataAccessException;

	/**
	 * JPQL Query - findCureTypeById
	 *
	 */
	public CureType findCureTypeById(Integer id_1, int startResult, int maxRows) throws DataAccessException;

}